package com.fahai.web.dao;

import com.fahai.common.CommonMapper;
import com.fahai.web.entity.LawyerCity;
import com.fahai.web.vo.LawyerInfoVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by sky on 17/5/17.
 * 此表用来查询律师的服务地
 */
@Repository
public interface LawyerCityDao extends CommonMapper<LawyerCity> {

    public List<Integer> selectLawyerIdByCondition(LawyerInfoVo lawyerInfoVo);

    /**
     * 查询律师对应的三级地址
     * @param lawyerId
     * @return
     */
    public List<String> selectCityIdByCondition(Integer lawyerId);

}
